<!--{if $op == 'rule'}-->
	<div class="mtm y">
		<select onchange="location.href='home.php?mod=spacecp&ac=credit&op=rule&fid='+this.value"><option value="">{lang credit_rule_global}</option>$select</select>
	</div>
<!--{/if}-->
<p class="tbmu">
	<a href="home.php?mod=spacecp&amp;ac=credit&amp;op=base" $opactives[base]>{lang my_credits}</a><span class="pipe">|</span>
	<a href="home.php?mod=spacecp&amp;ac=credit&amp;op=usergroup" $opactives[usergroup]>{lang usergroup}</a><span class="pipe">|</span>
	<a href="home.php?mod=spacecp&amp;ac=credit&amp;op=log&amp;suboperation=paymentlog" $opactives[log]>{lang memcp_credits_log}</a><span class="pipe">|</span>
	<a href="home.php?mod=spacecp&amp;ac=credit&amp;op=rule" $opactives[rule]>{lang credit_rule}</a>
	<!--{if !empty($_G['setting']['plugins']['spacecp_credit'])}-->
		<!--{loop $_G['setting']['plugins']['spacecp_credit'] $id $module}-->
			<!--{if !$module['adminid'] || ($module['adminid'] && $_G['adminid'] > 0 && $module['adminid'] >= $_G['adminid'])}--><span class="pipe">|</span><a href="home.php?mod=spacecp&amp;ac=plugin&amp;op=credit&amp;id=$id"{if $_G[gp_id] == $id} class="a"{/if}>$module[name]</a></li><!--{/if}-->
		<!--{/loop}-->
	<!--{/if}-->
</p>